DivertFlow Interface

public interface DivertFlow

Module Procedures

private subroutine DivertFlowToChannel(time, div, Qin, Qout)

Discharge routing through diversion. Discharge is split between river and diversion channel

Arguments

Type IntentOptional Attributes Name
type(DateTime), intent(in) :: time
type(Diversion), intent(inout) :: div
real(kind=float), intent(in) :: Qin

Input discharge at time t + dt (m3/s)

real(kind=float), intent(out) :: Qout

downstream discharge at time t + dt (m3/s)

private subroutine DivertFlowToReservoir(time, res, Qin, Qout)

Discharge routing through diversion. Discharge is split between river and diversion channel

Arguments

Type IntentOptional Attributes Name
type(DateTime), intent(in) :: time
type(Reservoir), intent(inout) :: res
real(kind=float), intent(in) :: Qin

Input discharge at time t + dt (m3/s)

real(kind=float), intent(out) :: Qout

downstream discharge at time t + dt (m3/s)